﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ByrForumAPI.MetaData
{
    public class Pagination
    {
         //在每个存在分页显示的API返回结果中都会存在pagination属性

        //总页数 
        [JsonProperty("page_all_count")]
        public int PageAllCount { get; internal set; }

        //当前页数
        [JsonProperty("page_current_count")]
        public int PageCurrentCount { get; internal set; }

        //每页元素个数  
        [JsonProperty("item_page_count")]
        public int ItemPageCount { get; internal set; }
       
         //所有元素个数  
        [JsonProperty("item_all_count")]
        public int ItemAllCount { get; internal set; }
    }
}
